<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>05_新增表单控件属性</title>
  </head>
  <body>
    <form action="">
      账号：<input type="text" name="username" /> 密码：<input
        type="password"
        name="pwd"
      />
      <br />
      性别：
      <input type="radio" name="gender" value="male" />男
      <input type="radio" name="gender" value="female" />女
      <br />
      爱好：
      <input type="checkbox" name="hobby" value="football" />足球
      <input type="checkbox" name="hobby" value="basketball" />篮球
      <br />
      其他：<textarea name="other" id=""></textarea>
      <br />
      <button>提交</button>
    </form>
  </body>
</html>
